sudo apt-get -y install git
git clone https://gitee.com/imwangzhiyu/xmr-stak-cpu.git
sudo apt-get -y install libmicrohttpd-dev libssl-dev cmake build-essential
cd xmr-stak-cpu/
cmake -DHWLOC_ENABLE=OFF .
make install
cd 